<template>
  <div class="footer">

<!--    <div class="copyright">-->
<!--      技术支持-->
<!--      <a-icon type="copyright"/>-->
<!--      <span>{{getCopyright()}}</span>-->
<!--    </div>-->
  </div>
</template>

<script>
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'

export default {
  name: "LayoutFooter",
  data() {
    return {
      dictOptions: {
        copyright: [],
      }
    }
  },
  async created() {
    // this.initDictConfig();
    },
    methods: {
      // async initDictConfig() {
      //   initDictOptions('copyright').then((res) => {
      //     if (res.success) {
      //       this.$set(this.dictOptions, 'copyright', res.result)
      //     }
      //   })
      // },
      getCopyright() {
        console.log("copyright", filterMultiDictText(this.dictOptions['copyright'], "1"));
        return filterMultiDictText(this.dictOptions['copyright'], "1");
      }
    }
  }
</script>

<style lang="less" scoped>
  .footer {
    padding: 0 16px;
    margin: 48px 0 24px;
    text-align: center;

    .links {
      margin-bottom: 8px;

      a {
        color: rgba(0, 0, 0, .45);

        &:hover {
          color: rgba(0, 0, 0, .65);
        }

        &:not(:last-child) {
          margin-right: 40px;
        }
      }
    }
    .copyright {
      color: rgba(0, 0, 0, .45);
      font-size: 14px;
    }
  }
</style>